import { createApp } from 'vue'
import { library } from '@fortawesome/fontawesome-svg-core'
// import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { fas } from '@fortawesome/free-solid-svg-icons'
// import { far } from '@fortawesome/free-regular-svg-icons'
// import { fab } from '@fortawesome/free-brands-svg-icons'
import './style/index.css'
import App from './App.vue'
import router from './router'

// 添加所有图标到库中
library.add(fas)

const app = createApp(App)
// 全局注册组件
// app.component('font-awesome-icon', FontAwesomeIcon)
app.use(router)
app.mount('#app')
